package com.volkanic.views.worldselection;

import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.volkanic.controller.GameController;
import com.volkanic.views.stages.WallpaperStage;
import com.volkanic.views.View;

import java.util.ArrayList;
import java.util.Collections;

/**
 * Created by Lucas on 27/07/2014.
 */
public class WorldSelectionView extends View {

    public WorldSelectionView(GameController controller) {
        super(controller, GameController.StageState.WORLD_SELECTION);
    }

    @Override
    public void show() {
        _listStages = Collections.synchronizedList(new ArrayList<Stage>());

        synchronized (_listStages){
            _listStages.add(new WallpaperStage("paysage.png"));
        }

        _batch = new SpriteBatch();
    }
}
